<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>



<html:html xhtml="true" lang="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> Nouveau collaborateur </title>
<html:base/>
<link rel="stylesheet" type="text/css" href="../css/sdz.css" />
</head>

	<body>
		<div>
            <html:form action="/processNewUser">
            <span class="erreur">  <html:errors/>  </span>
            
				<fieldset>
       				<legend> collborateur</legend>
       				
					<label >Nom *</span></label>
					<html:text property="userName" size="50" maxlength="50"/></br>
					
					<label >Prenom *</span></label>
					<html:text property="userPrenom" size="50" maxlength="50"/></br>
					<label >Sexe</span></label>
					<html:radio property="userSex" value="man">Homme</html:radio>
					<html:radio property="userSex" value="woman">Femme</html:radio></br>
					</fieldset>
					
					<fieldset>
       				<legend> Poste occupé</legend>
					
					<label >Telephone </span></label>
					<html:text property="userTel" value="+33" size="50" maxlength="50"/></br>
					
					
					
					<label >Email </span></label>
					<html:text property="userEmail" value="@ecobank.com" size="50" maxlength="50"/></br>
					
					<label >Poste</span></label>
					<html:text property="userPoste" size="50" maxlength="50"/></br>
					
					<label >Location </span></label>
					<html:text property="userLocation" value="Paris" size="50" maxlength="50"/></br>
					
					<label >Team Leader</span></label>
					<html:checkbox property="userTeamLeader" />
					</fieldset>
					
					<fieldset>
       				<legend> Identifiants</legend>
       				
       				<label >Veuillez saisir mot de passe </span></label>
					<html:password property="userMdp" size="50" maxlength="50"/></br>
					
					<label >Retapez mot de passe </span></label>
					<html:password property="userConfirm" size="50" maxlength="50"/></br>
       				
       				</fieldset>
					
					<html:submit>
					<bean:message key="button.submit" />
					</html:submit>
            
            		<html:reset>
					<bean:message key="button.reset" />
					</html:reset>
				
				
            </html:form>
        </div>
        
	</body>
</html:html>